package com.rfid.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库分区信息对象 rfid_house_child
 * 
 * @author ruoyi
 * @date 2022-12-28
 */
public class RfidHouseChild extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分区id */
    private Long id;

    /** 分区名称 */
    @Excel(name = "分区名称")
    private String name;

    /** 分区归属 */
    @Excel(name = "分区归属")
    private Long from;

    /** 分区容量 */
    @Excel(name = "分区容量")
    private Long capacity;

    /** 分区负责人 */
    @Excel(name = "分区负责人")
    private Long leader;

    /** 分区状态 0-剩余 1-拥挤 2-禁用 */
    @Excel(name = "分区状态 0-剩余 1-拥挤 2-禁用")
    private Integer status;

    /** 分区存储类型 */
    @Excel(name = "分区存储类型")
    private String category;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFrom(Long from) 
    {
        this.from = from;
    }

    public Long getFrom() 
    {
        return from;
    }
    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }
    public void setLeader(Long leader) 
    {
        this.leader = leader;
    }

    public Long getLeader() 
    {
        return leader;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("from", getFrom())
            .append("capacity", getCapacity())
            .append("leader", getLeader())
            .append("status", getStatus())
            .append("category", getCategory())
            .toString();
    }
}
